package edu.zjut.hjg.saas.biz.service;

import java.util.List;

import edu.zjut.hjg.saas.biz.model.Album;
import edu.zjut.hjg.saas.biz.support.AlbumType;
import edu.zjut.hjg.saas.biz.support.Paginated;

public interface AlbumService {
    void create(Album album, String operator);

    Album findByIdAndAppId(int id, int appId);

    void deleteByIdAndAppId(int id, int appId, String operator);

    Paginated<Album> listByAlbumTypeAndAppId(AlbumType albumType, int appId, int pageSize, int page);

    List<Album> listAllByAlbumTypeAndAppId(AlbumType albumType, int appId);
}
